//
//  CZPopMenuView.h
//  小和微博
//
//  Created by 董晓合 on 15/2/21.
//  Copyright (c) 2015年 itcast. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef void (^dismissBlack)();

@interface CZPopMenuView : NSObject
/**
 *  显示菜单
 *
 *  @param fromView 需要指向的控件
 *  @param content  需要显示的控件
 *  @param dismiss  <#dismiss description#>
 */
+ (void)popFrom:(UIView *)fromView content:(UIView *)content dismiss:(dismissBlack)dismiss;

+ (void)popFrom:(CGRect)fromRect inView:(UIView *)inView content:(UIView *)content dismiss:(dismissBlack)dismiss;

+ (void)popFrom:(UIView *)fromView contentVc:(UIViewController *)contentVc dismiss:(dismissBlack)dismiss;

@end
